package cn.com.git.workflow.dao;

import cn.com.git.workflow.dao.model.WorkFlowGroupOperator;
import cn.com.git.workflow.service.query.WorkFlowGroupOperatorListQuery;

import java.util.List;

/**
  * WorkFlowGroupOperatorDAO接口
  * @author zhangzhenfu
  * @Description
  * @date 2020/4/15
*/
public interface WorkFlowGroupOperatorDAO {

    WorkFlowGroupOperator selectById(Integer id);

    WorkFlowGroupOperator selectOne(WorkFlowGroupOperatorListQuery query);

    int countLimit(WorkFlowGroupOperatorListQuery query);

    List<WorkFlowGroupOperator> selectList(WorkFlowGroupOperatorListQuery query);

    Integer insertOne(WorkFlowGroupOperator record);

    List<WorkFlowGroupOperator> insertList(List<WorkFlowGroupOperator> list);

    Integer updateOne(WorkFlowGroupOperator record);

    Integer updateLimit(WorkFlowGroupOperator record, WorkFlowGroupOperatorListQuery query);

    Integer deleteOne(Integer id);

    Integer deleteLimit(WorkFlowGroupOperatorListQuery query);
}